<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>v-once</title>
		<script src="https://cdn.jsdelivr.net/npm/vue"></script>
	</head>
	<body>
		<div id="app">
			<p v-once>这个将不会改变: {{msg}}</sp>
			<p>{{msg}}</p>
			<p>
			   <input type="text" v-model="msg"/>
			</p>
		</div>
		<script>
			var vm = new Vue({
				el:'#app',
				data:{
					msg:'Hello World'
				}
			})
		</script>
	</body>
</html>
